package com.ruoyi.course.mapper;

import java.util.List;
import com.ruoyi.course.domain.SysStudentTopic;

/**
 * 课程题目Mapper接口
 * 
 * @author YJF
 */
public interface SysStudentTopicMapper 
{
    /**
     * 查询课程题目
     * 
     * @param studentTopicId 课程题目主键
     * @return 课程题目
     */
    public SysStudentTopic selectSysStudentTopicByStudentTopicId(Long studentTopicId);

    /**
     * 查询课程题目列表
     * 
     * @param sysStudentTopic 课程题目
     * @return 课程题目集合
     */
    public List<SysStudentTopic> selectSysStudentTopicList(SysStudentTopic sysStudentTopic);

    /**
     * 新增课程题目
     * 
     * @param sysStudentTopic 课程题目
     * @return 结果
     */
    public int insertSysStudentTopic(SysStudentTopic sysStudentTopic);

    /**
     * 修改课程题目
     * 
     * @param sysStudentTopic 课程题目
     * @return 结果
     */
    public int updateSysStudentTopic(SysStudentTopic sysStudentTopic);

    /**
     * 删除课程题目
     * 
     * @param studentTopicId 课程题目主键
     * @return 结果
     */
    public int deleteSysStudentTopicByStudentTopicId(Long studentTopicId);

    /**
     * 批量删除课程题目
     * 
     * @param studentTopicIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysStudentTopicByStudentTopicIds(Long[] studentTopicIds);
}
